package com.haoyu.service;

import com.haoyu.dao.UserinfoDao;
import com.haoyu.entity.UserInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: 蒿雨
 * @create: 2022-01-06 17:08
 * @description:
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Resource
    UserinfoDao userInfoDao;

    @Override
    public UserInfo findByUsername(String username) {
        return userInfoDao.findByUsername(username);
    }
}
